package dao;

import domain.Member;
import domain.Traveller;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ITraveller {
    @Select("select * from Traveller where id in(select TravellerId from order_traveller where orderId =#{orderId})")
    List<Traveller> findById(Integer orderId) throws Exception;
}
